package com.zjcode.cdcer.mapper;

import com.zjcode.cdcer.model.CerEndoscopicDiagnosisDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CerEndoscopicDiagnosisDetailsMapper {

    int batchInsert(@Param("list") List<CerEndoscopicDiagnosisDetails> list);

    List<CerEndoscopicDiagnosisDetails> findByParentId(@Param("parentId") String parentId);

    void deleteByParentId(@Param("parentId") String id);
}
